home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
comm
/
ca29_3.zip
/
HOST.DOC
< prev
next >
Wrap
Text File
|
1992-11-30
|
16KB
|
660 lines
COM-AND Scripted HOST
-----------------------------------------
COM-AND Scripted HOST
Script based Host mode for the IBM PC
-----------------------------------------
COM-AND, and the HOST script-set (HOST, HOSETUP, et al) are
copyright 1992 by CABER Software. COM-AND is distributed freely
and may be copied by anyone for any number of machines, for
purposes of evaluation. The author offers COM-AND and its
accessory programs as a package, as "shareware". If you USE
the program after evaluating it, you MUST pay for it.
The complete user license and registration information is to be
found in the file REGISTER.DOC. Limitations on redistribution
of COM-AND are set out in the file VENDOR.DOC. These two files
are included with the COM-AND program release.
CABER Software
R. (Scott) McGinnis
P.O. Box 3607 Mdse Mart
Chicago, IL 60654-0607
GEnie, Delphi: TARTAN
CIS .......... 73147,2665
Internet ..... 73147.2665@compuserve.com
Version 1.1: 921012
COM-AND Scripted HOST
Table of Contents
-----------------
I. Introduction .............................................. page 1
A. What is COM-AND? ........................................ page 1
B. The HOST ................................................ page 1
II. Installing the HOST ........................................ page 2
A. Load HOSETUP ............................................ page 2
B. Using HOSETUP ........................................... page 2
C. Exit HOSETUP and load HOST .............................. page 3
III. External programs .......................................... page 5
A. TREED ................................................... page 5
B. DOORWAY ................................................. page 5
IV. Program Requirements ....................................... page 6
V. Program and Author Information ............................ page 7
Appendices
----------
A. Modem configuration ........................................ page 8
1. DTR ..................................................... page 8
2. CD ...................................................... page 8
3. Modem ESCAPE ............................................ page 9
4. Hangup .................................................. page 9
5. Modem Init .............................................. page 9
B. HOSTART.CMD ................................................ page 10
Version 1.1: 921012
COM-AND Scripted HOST Page 1
I. Introduction
A. What is COM-AND?
COM-AND for the IBM PC and compatibles is a communications program
for use by itself, or for use with several integrated accessory
programs (which themselves may be used independently of COM-AND).
COM-AND provides standard comm program functions: a dialing dir-
ectory, macros, disk logging, binary and ASCII file transfers, and
a script language.
B. The HOST
This document details the HOST script provided with COM-AND. Two
levels of hosting are provided. First, password protected logon
and a limited set of functions are provided. The functions are:
o C)hdir Change current directory
o F)ilelist List files in current subdirectory
o P)athlist Graphically list paths
o U)pload Upload a file using WXMODEM,
XMODEM, YMODEM, ZMODEM or KERMIT
o D)ownload Download a file using WXMODEM,
XMODEM, YMODEM, ZMODEM or KERMIT
o E)xit Logoff
Two additional functions are accessed with a second password (the
commands 'x' and 'y' are NOT listed on the HOST menu):
o X: DOS commands may be executed at this level. [NOTE: DOS
commands supporting redirected I/O are only 'usable' here.
DOS functions prompting for keyboard input may 'hang' the
HOST script.]
o Y: A drop-to-DOS is supported, using a doorway utility (such
as Marshall Dudley's DOORWAY). COM-AND is terminated, and
the doorway loaded, allowing full access to the machine.
On termination of the doorway, COM-AND is reloaded, and
the HOST script re-entered.
The supplied HOST script works best if your modem is set to report
the real state of Carrier Detect (CD). However, it has been used
quite successfully with modems reporting Carrier Detect always
true (when disconnect occurs, Hayes compatible modems report the
fact with 'NO CONNECT', and HOST is coded to look for it).
Version 1.1: 921012
COM-AND Scripted HOST Page 2
II. Installation
Included with the HOST script is a utility script, HOSETUP. HOSETUP
is used to configure the HOST if default values are not desired (and
rarely are they!).
A. Load HOSETUP
Load COM-AND and invoke HOSETUP. For example, from the DOS
prompt:
"d>" COM-AND /fHOSETUP
loads COM-AND and invokes the HOSETUP script. [This document
assumes scripts are on the current subdirectory, or the subdir-
ectory pointed by the COM-AND= environment variable.]
If HOSETUP is used to change any default values, a file, HOSTDAT
is created for the HOST script. HOSTDAT is created on the sub-
directory pointed by the COM-AND= environment variable. In the
absence of the variable, HOSTDAT is created on the current direc-
tory (in which case HOST MUST be executed from THAT directory).
B. Using HOSETUP
From HOSETUP's main menu, select the items in numeric order.
1) Identify modem values
a) Identify modem port; The default value is the default for
COM-AND. You may wish to change this for the HOST. What-
ever port you indicate becomes the HOST's comm port.
b) Identify modem speed; The default value is the default for
COM-AND. You may wish to change this for the HOST. This is
the speed set by the HOST when waiting for a call.
c) Identify modem control string; The default value for this
is appropriate for most Hayes compatible modems. It may
need modification for some modems; if so, refer to the
documentation included with the modem.
Version 1.1: 921012
COM-AND Scripted HOST Page 3
II. Installation (continued)
B. Use HOSETUP (continued)
2) Identify passwords used by HOST;
a) Identify the LOGON password. Callers may use ANY name, but
MUST use this password. The default is "****".
b) Identify the DOS password. Once connected, as described
above, DOS functions are available. To access the DOS
functions, the DOS password is required. The default is
"xxxx".
3) Identify the doorway command;
The doorway command carries both the file name of the doorway
utility, and any parameters required. For example:
c:\doorway\doorway com4 /S:* /G:ON /V:B^U /M:1000 /C:DOS /V:D
The command, exactly as typed is executed by DOS when a drop-
to-DOS is executed.
If this command is left null (its default), the drop-to-DOS
function is inhibited.
C. Exit HOSETUP and load HOST
ESC or successive carriage returns exits HOSETUP. Back in
COM-AND, invoke HOST through the F2 key. In the script prompt
window, for example, type:
\HOST\HOST
Two HOST script files are included in each release. The script
HOST.SRC is commented source for the HOST. The file HOST.CMD is a
stripped script; it contains no comments and is not very readable.
HOST.CMD is the script to be executed. Stripped, it executes
faster than HOST.SRC. HOST.SRC is provided for the intrepid who
who wish to modify the HOST.
[COM-AND does not recognize HOST.SRC as a script unless the ".SRC"
extension is stated explicitly when the script is invoked.]
Version 1.1: 921012
COM-AND Scripted HOST